//
//  INguViewController.m
//  tableView
//
//  Created by mac on 15-11-19.
//  Copyright (c) 2015年 yb. All rights reserved.
//

#import "INguViewController.h"
#import <QuartzCore/QuartzCore.h>

@interface INguViewController ()

@end

@implementation INguViewController

- (id)initWithStyle:(UITableViewStyle)style
{
    self = [super initWithStyle:style];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];

    // Uncomment the following line to preserve selection between presentations.
    // self.clearsSelectionOnViewWillAppear = NO;
 
    // Uncomment the following line to display an Edit button in the navigation bar for this view controller.
    // self.navigationItem.rightBarButtonItem = self.editButtonItem;
}

- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
{
    return 1;
}

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
    UITableViewCell *cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:nil];
    //光标的位置
    UITextField *tf = [[UITextField alloc] initWithFrame:CGRectMake(15, 10, cell.frame.size.width - 30, 44 - 20)];
    
    [cell addSubview:tf];
    return cell;
    
    
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}
@end